# Chat script created on 2010-04-21 23:04:01 +0800
# Set TIMEOUT to be 15 seconds
TIMEOUT 15
# Abort on ERROR
ABORT 'ERROR\r'
# Abort on NO CARRIER
ABORT 'NO CARRIER\r'
# Send the initial AT command
SAY 'Reset the modem ...'
'' 'ATZ\r'
# Initialize the modem
SAY 'Initialize the modem ...'
'OK\r' 'AT\r'
# Start dailing
SAY 'Start dialing $NUMBER ...'
'OK\r' 'ATDT$NUMBER\r'
# Wait for the CONNECT command
'CONNECT\r' ''
SAY 'Successfully connected!'
